package com.huaguoguo.cyg.entity.tl.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author huaguoguo
 * @since 2020-02-22
 */
@TableName("tl_server")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TlServerDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 大区名
     */
    @TableField(value="server_name")
    private String serverName;

    /**
     * 小区名
     */
    @TableField(value="area_name")
    private String areaName;

    /**
     * 小区id
     */
    @TableField(value="area_id")
    private Integer areaId;



}
